import Vue from 'vue'
import {
    Form, FormItem, Input, Button, Message, Container, Header,
    Aside, Main, MenuItem, Menu, Submenu, MenuItemGroup, Breadcrumb, BreadcrumbItem,
    Row, Col, Card, Table, TableColumn, Switch, Tooltip, Pagination, Dialog, MessageBox, Tag,
    Tree, Select, Option, Cascader, Alert, Tabs, TabPane, Steps, Step, CheckboxGroup, Checkbox, Upload,
    Timeline,TimelineItem
    
} from "element-ui";
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
export default {
    install(Vue) {
        Vue.use(Form)
            .use(FormItem)
            .use(Input)
            .use(Button)
            .use(Container)
            .use(Header)
            .use(Aside)
            .use(Main)
            .use(MenuItem)
            .use(Submenu)
            .use(Menu)
            .use(MenuItemGroup)
            .use(Breadcrumb)
            .use(BreadcrumbItem)
            .use(Row)
            .use(Col)
            .use(Card)
            .use(Table)
            .use(TableColumn)
            .use(Switch)
            .use(Tooltip)
            .use(Pagination)
            .use(Dialog)
            .use(Tag)
            .use(Tree)
            .use(Select)
            .use(Option)
            .use(Cascader)
            .use(Alert)
            .use(Tabs)
            .use(TabPane)
            .use(Steps)
            .use(Step)
            .use(CheckboxGroup)
            .use(Checkbox)
            .use(Upload)
            .use(Timeline)
            .use(TimelineItem)
            
    }
}